package ar.com.duam.porky.movil;

import java.util.Date;

public class Movimiento 
{
	public static final String TABLE_NAME = "movimientos";
	public static final String COLUMN_ID = "id";
	public static final String COLUMN_CONCEPTO_ID = "concepto_id";
	public static final String COLUMN_FECHA = "fecha";
	public static final String COLUMN_DETALLE = "detalle";
	public static final String COLUMN_IMPORTE = "importe";
    
	private Integer id;
	private Date fecha;
	private Integer conceptoId;
	private String detalle;
	private Float importe;
	
	public Movimiento()
	{
		this.fecha = new Date();
	}
	
	public Integer getId()
	{
		return id;
	}
	
	public void setId(Integer id)
	{
		this.id = id;
	}
	
	public Date getFecha() 
	{
		return fecha;
	}
	
	public void setFecha(Date fecha) 
	{
		this.fecha = fecha;
	}
	
	public Integer getConceptoId() 
	{
		return conceptoId;
	}
	
	public void setConceptoId(Integer conceptoId) 
	{
		this.conceptoId = conceptoId;
	}
	
	public String getDetalle() 
	{
		return detalle;
	}
	
	public void setDetalle(String detalle) 
	{
		this.detalle = detalle;
	}
	
	public Float getImporte() 
	{
		return importe;
	}
	
	public void setImporte(Float importe) 
	{
		this.importe = importe;
	}

	@Override
	public String toString() 
	{
		return this.id +", "+ this.fecha +", "+ this.conceptoId +", "+ this.detalle +", "+ this.importe;
	}

}
